﻿
// 2023/2/28: 首个版本
// 2025/4/21: isDependentFrameH264过滤开头SEI

#ifndef __NEXT_UTILITY_H__
#define __NEXT_UTILITY_H__

#include "spadas.h"

namespace videonext
{
	using namespace spadas;

	class FFMPEG
	{
	public:
		static void enableLog(); // AV_LOG_VERBOSE
		static void disableLog(); // AV_LOG_QUIET
	};

	class Frame
	{
	public:
		static OptionalBool isDependentFrameH264(Binary packet);
		static OptionalBool isDependentFrameH265(Binary packet);
	};
}

#endif
